package edu.sctu.practice.class02.xuejiahua.assign03;

/**
 * Created by Administrator on 2015/10/26.
 */
public class Main {
    public static void main(String[] args) {

        System.out.println("圆信息：");
        Circle circle = new Circle("白色",2.5);
        StaticMenthed.displayGeometricObject(circle);


        System.out.println("矩形信息：");
      Rectangle rectangle = new Rectangle("紫色",3,2);
        StaticMenthed.displayGeometricObject(rectangle);

        System.out.println("面积是否相等："+StaticMenthed.equalArea(circle,rectangle));










  }
}




